<?php
class forecastComponents extends sfComponents
{

	public function executeForecastRegionBox() {
		
		$region = TMDService::findGeoRegionById( $this->regionId );
		
		$forecast = TMDService::findInputDailyForecastByGeoReigonAndForecastDateTime( $this->regionId, $this->datetimeForecast );
		
		$this->region = $region;
		$this->forecast = $forecast;
	}
}